package com.minhua.jijiehao2.mainframe.launcher.loginactivity.imp

import com.minhua.jijiehao2.bean.LoginBean
import com.minhua.jijiehao2.bean.PhoneVerifyBean
import com.minhua.jijiehao2.http.CallBack
import com.minhua.jijiehao2.http.ParamsMap

interface ILoginModel {

    /**
     * 用户是否已注册
     */
    fun isExists(map: ParamsMap, callBack: CallBack<PhoneVerifyBean>)

    /**
     * 用户登录
     */
    fun login(map: ParamsMap, callBack: CallBack<LoginBean>)

    /**
     * 保存登录信息
     */
    fun saveLogin(loginBean: LoginBean)
}